package cn.icanci.test.controller;

import cn.icanci.test.service.HelloService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * @author icanci
 * @date Created in 2021/03/02 23:55
 * @version 1.0
 */
@Controller
public class HelloController {
    @Autowired
    private HelloService helloService;

    public void handleRequest() {
        helloService.sayHello();
        helloService.justWantToThrowException();
    }
}
